package zhklappoint.util;

public class TurnThePage {
	
	private Integer page;
	
	private Integer size;
	
	private Integer totalPages;
	
	private Long totalElements;

	public TurnThePage() {}
	
	public TurnThePage(Integer page,Integer size,Integer totalPages,Long totalElements) {
		this.page=page;
		this.size=size;
		this.totalPages=totalPages;
		this.totalElements=totalElements;
		
	}
	public int getSize() {
		return size;
	}

	
	public int getPage() {
		return page;
	}


	public void setPage(int page) {
		this.page = page;
	}


	public void setSize(int size) {
		this.size = size;
	}

	public int getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}

	public long getTotalElements() {
		return totalElements;
	}

	public void setTotalElements(long totalElements) {
		this.totalElements = totalElements;
	}
	
	

}
